﻿#include "daemonlog.h"

DaemonLog::DaemonLog(QObject *parent) : QBaseEntity(parent)
{
    clear();
    const QMetaObject *metaObject = this->metaObject();
    setTableName(QString(metaObject->className()).toLower());
    setPrimaryKey("id");
}

DaemonLog::DaemonLog(uint64_t in_id, QString in_start_time, int in_start_type, QString in_progress_name, QString in_progress_path, QString in_remark,QObject *parent) : QBaseEntity(parent)
{
    clear();
    const QMetaObject *metaObject = this->metaObject();
    setTableName(QString(metaObject->className()).toLower());
    setPrimaryKey("id");
    id = in_id;
    start_time = in_start_time;
    start_type = in_start_type;
    progress_name = in_progress_name;
    progress_path = in_progress_path;
    remark = in_remark;
}

DaemonLog::~DaemonLog()
{

}

uint64_t DaemonLog::getId() const
{
    return id;
}

void DaemonLog::setId(const uint64_t &value)
{
    id = value;
}

QString DaemonLog::getStart_time() const
{
    return start_time;
}

void DaemonLog::setStart_time(const QString &value)
{
    start_time = value;
}

int DaemonLog::getStart_type() const
{
    return start_type;
}

void DaemonLog::setStart_type(int value)
{
    start_type = value;
}

QString DaemonLog::getProgress_name() const
{
    return progress_name;
}

void DaemonLog::setProgress_name(const QString &value)
{
    progress_name = value;
}

QString DaemonLog::getProgress_path() const
{
    return progress_path;
}

void DaemonLog::setProgress_path(const QString &value)
{
    progress_path = value;
}

QString DaemonLog::getRemark() const
{
    return remark;
}

void DaemonLog::setRemark(const QString &value)
{
    remark = value;
}
